<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Model\Announcements;

class AnnouncementsController extends Controller
{
    public function getDetail($announcement_id=0){
        $announcement = Announcements::find($announcement_id);
        return view('api.announcement')->with('announcement',$announcement);
    }
}
